﻿using System;
//using System.Net;
//using System.Windows;
//using System.Windows.Controls;
//using System.Windows.Documents;
//using System.Windows.Ink;
//using System.Windows.Input;
//using System.Windows.Media;
//using System.Windows.Media.Animation;
//using System.Windows.Shapes;
using DailyBread.DataServiceReference;
//using System.Collections.Generic;
using System.Runtime.Serialization;

namespace DailyBread
{
    [DataContract()]
    public class AppContext
    {
        [DataMember]
        public DateTime currentDisplayDate { get; set; }
        [DataMember]
        public string BreadName { get; set; }
        [DataMember]
        public string VerseName { get; set; }
        [DataMember]
        public string BreadContent { get; set; }
        [DataMember]
        public string VerseContent { get; set; }
        [DataMember]
        public Uri BreadUri { get; set; }
        [DataMember]
        public string ArticleVerse { get; set; }
        public bool IsFav { get; set; }
        public int FavoriteCount { get; set; }
        public bool InitialLoad { get; set; }
        public DailyBreadComments SelectedComment { get; set; }

        public AppContext(DateTime currentDate)
        {
            currentDisplayDate = currentDate;
            IsFav = false;
            FavoriteCount = 0;
        }
    }
}
